package cn.com.company.main.client.ui;

import com.extjs.gxt.ui.client.util.IconHelper;
import com.extjs.gxt.ui.client.widget.Window;
import com.extjs.gxt.ui.client.widget.layout.FitLayout;

public class BomPositionNoRegWindow extends Window {
	public static BomPositionNoRegWindow instance;

	public static BomPositionNoRegWindow getInstance(String title) {
		if (instance == null) {
			instance = new BomPositionNoRegWindow(title);
		}
		return instance;
	}

	public BomPositionNoRegWindow(String title) {
		setIcon(IconHelper.createStyle("icon-grid"));
		setMinimizable(true);
		setMaximizable(true);
		setHeading(title);
		setSize(500, 400);
		setLayout(new FitLayout());

	}
}
